<%-- 
    Document   : home
    Created on : 14 mars 2012, 17:20:47
    Author     : Vincent
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<!--[if lt IE 9]>
			<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
        <title>My Cine</title>
    </head>
    <body>
		<div id="page">
			<header>
				<div id="titlePrincipale">
					<h1>MyCine</h1>
					<s:if test="#session.authentification">
						<%--TODO: ajouter avatar et options...--%>
						<s:property value="#session.firstName"/> <s:property value="#session.lastName"/>
						<s:a action="disconnect">Déconnexion</s:a>
						<%--TODO: film de la semaine--%>
					</s:if>
					<%-- Inclure la page du header --%>
				</div>
			</header>
			
			<nav>
				<ul>
					<li><s:a action="">Accueil</s:a></li>
					<li><s:a action="">Mes films</s:a></li>
					<li><s:a action="">Mes proches</s:a></li>
					<li><label for="search">Recherche : </label><input id="search" name="search" type="text"/></li>
				</ul>
			</nav>
			
			<footer>
				<p>Copyright MyCine - Tous droits réservés</p>
			</footer>
		</div>
    </body>
</html>
